<template>
	<view>
		<view style="height: 10rpx;background-color: #f4f4f4;"></view>
		<view class="position-relative; d-flex j-start a-center"
			style="height: 188rpx;background-color:#fff;top: 8rpx;">
			<image src="../../static/index/index_1.png" mode=""
				style="width: 108rpx;height: 108rpx;border-radius: 50rpx;margin-left: 30rpx;margin-right: 30rpx;">
			</image>
			<view class="d-flex flex-column" style="width: 210rpx;">
				<view style="font-weight: bold;font-size: 32rpx;">
					{{IPQC_list.iName}}
				</view>
				<view>
					<view style="height: 2rpx;background-color: #4A67DF;">
					</view>
					<view class="font main-text-color">
						{{IPQC_list.contactNumber}}
					</view>
				</view>
			</view>
		</view>
		<view style="height: 20rpx;background-color: #f4f4f4;"></view>
		<!-- <view style="background-color: #fff;position: relative;top: 20rpx;" class="d-flex pt-1 pl-3 j-sb mb-3">
			<view class="d-flex a-center">
				<view
					style="width: 16rpx;height: 16rpx;border-radius: 50rpx;background-color: #F7B500;margin-right: 20rpx;">
				</view>
				<view>资质</view>
			</view>
			<view class="pr-3 main-text-color">
				{{IPQC_list.dept_name}}
			</view>
		</view>
		<view style="background-color: #fff;position: relative;top: 20rpx;" class="d-flex pt-1 pl-3 j-sb mb-3">
			<view class="d-flex a-center">
				<view
					style="width: 16rpx;height: 16rpx;border-radius: 50rpx;background-color: #6DD400;margin-right: 20rpx;">
				</view>
				<view>资质编号</view>
			</view>
			<view class="pr-3 main-text-color">
				{{IPQC_list.worknumber}}
			</view>
		</view> -->
		<view style="background-color: #fff;position: relative;top: 20rpx;" class="d-flex pt-1 pl-3 j-sb mb-3">
			<view class="d-flex a-center">
				<view
					style="width: 16rpx;height: 16rpx;border-radius: 50rpx;background-color: #0091FF;margin-right: 20rpx;">
				</view>
				<view>负责区域</view>
			</view>
		</view>
		<view class="main-text-color font">
			<view style="background-color: #fff;position: relative;top: 20rpx;" class="d-flex pt-1 pl-3 j-sb mb-3 ml-3">
				<view class="d-flex a-center">
					<view
						style="width: 8rpx;height: 8rpx;border-radius: 50rpx;background-color: #DCDCDC;margin-right: 20rpx;">
					</view>
					<view>{{IPQC_list.area}}</view>
				</view>
			</view>
			<!-- 			<view style="background-color: #fff;position: relative;top: 20rpx;" class="d-flex pt-1 pl-3 j-sb mb-3 ml-3">
				<view class="d-flex a-center">
					<view
						style="width: 8rpx;height: 8rpx;border-radius: 50rpx;background-color: #DCDCDC;margin-right: 20rpx;">
					</view>
					<view>时代广场·B座</view>
				</view>
			</view>
			<view style="background-color: #fff;position: relative;top: 20rpx;" class="d-flex pt-1 pl-3 j-sb mb-3 ml-3">
				<view class="d-flex a-center">
					<view
						style="width: 8rpx;height: 8rpx;border-radius: 50rpx;background-color: #DCDCDC;margin-right: 20rpx;">
					</view>
					<view>银泰城A栋8楼803</view>
				</view>
			</view> -->
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				//巡检员编号
				worknumber: '',
				IPQC_list: []
			};
		},
		onLoad(e) {
			//巡检员编号
			this.worknumber = e.worknumber
			console.log(e, '巡检员编号');
		},
		onShow() {
			//获取当前巡检员编号的数据
			this.getIPQC_list()
		},
		methods: {
			//获取当前巡检员编号的数据
			getIPQC_list() {
				this.$https.get('system/ipqc/list3', {
					worknumber: this.worknumber
				}).then(res => {
					this.IPQC_list = res.rows[0]
					console.log(this.IPQC_list, '巡检员详情数据');
				})
			}
		}
	}
</script>

<style lang="scss">

</style>
